import request from '@/utils/request'

// 查询店长管理列表
export function listShopManager(query) {
  return request({
    url: '/metaverse-shopManager/shopManager/list',
    method: 'get',
    params: query
  })
}

// 查询店长管理详细
export function getShopManager(shopManagerId) {
  return request({
    url: '/metaverse-shopManager/shopManager/' + shopManagerId,
    method: 'get'
  })
}

// 新增店长管理
export function addShopManager(data) {
  return request({
    url: '/metaverse-shopManager/shopManager',
    method: 'post',
    data: data
  })
}

// 修改店长管理
export function updateShopManager(data) {
  return request({
    url: '/metaverse-shopManager/shopManager',
    method: 'put',
    data: data
  })
}

// 删除店长管理
export function delShopManager(shopManagerId) {
  return request({
    url: '/metaverse-shopManager/shopManager/' + shopManagerId,
    method: 'delete'
  })
}
